package edu.jsnu.service.ticket.schedule.service;

import beans.PageQuery;
import edu.jsnu.service.ticket.schedule.domain.Schedule;
import edu.jsnu.service.ticket.schedule.dto.ScheduleShow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScheduleService {
    List<ScheduleShow> getSchedule(PageQuery pageQuery);

    String getFilmTypesetting(Schedule schedule, boolean flag);

    ScheduleShow getScheduleById(Integer scheduleId);

    Integer batchDel(Integer[] ids);

    int updateByPrimaryKeySelective(Schedule schedule);

    Integer deleteScheduleById(@Param("id") Integer id);
}
